
package com.example.log.alarm.web;

import com.example.log.alarm.manager.ThreadPoolManager;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @program: spring-agent
 * @description:
 * @author: zt22328 赵儒定
 * @create: 2023-05-10 17:29
 **/
@RestController
public class ThreadPoolController {

    @Resource
    ThreadPoolManager threadPoolManager;

    @GetMapping("/getThreadPools")
    public Object getThreadPools() {
        return threadPoolManager.getThreadPools();
    }

}
